% Copyright 2007 TeX Users Group.
% You may freely use, modify and/or distribute this file.
\nopagenumbers

\def\newpage{\vfill\eject}

\hbox{} \vskip 2in

% \special{insertmf: projectr.wmf 0 0 6000000}%

% \vskip 2in

\noindent
\special{insertimage: flam8-l.tif 6000000}%
\hskip 2.5in
\special{CTM: push rotate 45}%
\special{insertimage: flam8-l.tif 6000000}%
\special{CTM: pop}%
\hskip 3in
\special{CTM: push rotate 90}%
\special{insertimage: flam8-l.tif 6000000}%
\special{CTM: pop}%

\vskip 2.5in

\noindent
\special{insertimage: flam8-l.tif 6000000}%
\hskip 2.5in
\special{CTM: push scale 0.7 1.4}%
\special{insertimage: flam8-l.tif 6000000}%
\special{CTM: pop}%
\hskip 2in
\special{CTM: push scale 0.5 2.0}%
\special{insertimage: flam8-l.tif 6000000}%
\special{CTM: pop}%

\vskip 1.5in

\noindent
\special{insertimage: flam8-l.tif 6000000}%
\hskip 2in
\special{CTM: push concat 1.0 0.0 0.2 1.0}%
\special{insertimage: flam8-l.tif 6000000}%
\special{CTM: pop}%
\hskip 2in
\special{CTM: push concat 1.0 0.0 0.4 1.0}%
\special{insertimage: flam8-l.tif 6000000}%
\special{CTM: pop}%

% \end

\newpage

\hbox{}

\vskip 3in

\noindent
\special{illustration m1andm2.eps scaled 400}%
\hskip 2.5in
\special{CTM: push rotate 45}%
\special{illustration m1andm2.eps scaled 400}%
\special{CTM: pop}%
\hskip 3in
\special{CTM: push rotate 90}%
\special{illustration m1andm2.eps scaled 400}%
\special{CTM: pop}%

\vskip 3in

\noindent
\special{illustration m1andm2.eps scaled 400}%
\hskip 2in
\special{CTM: push scale 0.7 1.4}%
\special{illustration m1andm2.eps scaled 400}%
\special{CTM: pop}%
\hskip 2.5in
\special{CTM: push scale 0.5 2.0}%
\special{illustration m1andm2.eps scaled 400}%
\special{CTM: pop}%

\vskip 1.5in

\noindent
\special{illustration m1andm2.eps scaled 400}%
\hskip 2in
\special{CTM: push concat 1.0 0.0 0.2 1.0}%
\special{illustration m1andm2.eps scaled 400}%
\special{CTM: pop}%
\hskip 2in
\special{CTM: push concat 1.0 0.0 0.4 1.0}%
\special{illustration m1andm2.eps scaled 400}%
\special{CTM: pop}%

% \end

\newpage

\hbox{}\vskip 6.5in

\noindent
\special{CTM: push rotate 90}%
$$\baselineskip0pt\lineskip0pt
\halign to\hsize
 {\strut\hbox to\parindent{\it#\hfil}& % for the legend "Left atom"
  #\hfil\quad& % for the row labels
  #\hfil\tabskip 0pt plus 10pt& % for the rule at the left
  \hbox to 25pt{\tt\hss#\hss}& % for column 1
  \hbox to 25pt{\tt\hss#\hss}& % for column 2
  \hbox to 25pt{\tt\hss#\hss}& % for column 3
  \hbox to 25pt{\tt\hss#\hss}& % for column 4
  \hbox to 25pt{\tt\hss#\hss}& % for column 5
  \hbox to 25pt{\tt\hss#\hss}& % for column 6
  \hbox to 25pt{\tt\hss#\hss}& % for column 7
  \hbox to 25pt{\tt\hss#\hss}& % for column 8
  #\hfil\tabskip0pt\cr % for the rule at the right
\noalign{\vskip-6pt} % it just happens that there's extra white space
&&&&\multispan7\hss\it Right atom\hss\cr
\noalign{\vskip3pt}
&&&\rm Ord&\rm Op&\rm Bin&\rm Rel&\rm Open&\rm Close&\rm Punct&\rm Inner\cr
\noalign{\vskip2pt}
\omit&&\multispan{10}\leaders\hrule\hfil\cr
\omit\vbox to 2pt{}&&\vrule&&&&&&&&&\vrule\cr
&Ord&\vrule&0&1&(2)&(3)&0&0&0&(1)&\vrule\cr
&Op&\vrule&1&1&*&(3)&0&0&0&(1)&\vrule\cr
&Bin&\vrule&(2)&(2)&*&*&(2)&*&*&(2)&\vrule\cr
Left&Rel&\vrule&(3)&(3)&*&0&(3)&0&0&(3)&\vrule\cr
atom&Open&\vrule&0&0&*&0&0&0&0&0&\vrule\cr
&Close&\vrule&0&1&(2)&(3)&0&0&0&(1)&\vrule\cr
&Punct&\vrule&(1)&(1)&*&(1)&(1)&(1)&(1)&(1)&\vrule\cr
&Inner&\vrule&(1)&1&(2)&(3)&(1)&0&(1)&(1)&\vrule\cr
\omit\vbox to 2pt{}&&\vrule&&&&&&&&&\vrule\cr
\omit&&\multispan{10}\leaders\hrule\hfil\cr}$$
\special{CTM: pop}%

\vskip -1in

\font\cmbx=cmbx12

\def\rosette#1{
\rlap{\quad#1}
\special{CTM: rotate 45}%
\rlap{\quad#1}
\special{CTM: rotate 45}%
\rlap{\quad#1}
\special{CTM: rotate 45}%
\rlap{\quad#1}
\special{CTM: rotate 45}%
\rlap{\quad#1}
\special{CTM: rotate 45}%
\rlap{\quad#1}
\special{CTM: rotate 45}%
\rlap{\quad#1}
\special{CTM: rotate 45}%
\rlap{\quad#1}
\special{CTM: rotate 45}%
\rlap{\quad#1}
}

{\cmbx

\noindent\hskip2in\rosette{rotation}

}

\newpage

\hbox{}\vskip4in

\def\pt{\,{\rm pt}} % units of points, in math formulas
\def\em{\,{\rm em}} % units of ems, in math formulas

\special{CTM: push rotate 90}%
$$\halign{\indent\tt#&\quad#\hfil\cr
pt&point (baselines in this manual are $12\pt$ apart)\cr
pc&pica ($\rm1\,pc=12\,pt$)\cr
in&inch ($\rm1\,in=72.27\,pt$)\cr
bp&big point ($\rm72\,bp=1\,in$)\cr
cm&centimeter ($\rm2.54\,cm=1\,in$)\cr
mm&millimeter ($\rm10\,mm=1\,cm$)\cr
dd&didot point ($\rm1157\,dd=1238\,pt$)\cr
cc&cicero ($\rm1\,cc=12\,dd$)\cr
sp&scaled point ($\rm65536\,sp=1\,pt$)\cr}$$
\special{CTM: pop}%

\vskip -2in

$$\halign{\indent\tt#&\quad#\hfil\cr
pt&point (baselines in this manual are $12\pt$ apart)\cr
pc&pica ($\rm1\,pc=12\,pt$)\cr
in&inch ($\rm1\,in=72.27\,pt$)\cr
bp&big point ($\rm72\,bp=1\,in$)\cr
cm&centimeter ($\rm2.54\,cm=1\,in$)\cr
mm&millimeter ($\rm10\,mm=1\,cm$)\cr
dd&didot point ($\rm1157\,dd=1238\,pt$)\cr
cc&cicero ($\rm1\,cc=12\,dd$)\cr
sp&scaled point ($\rm65536\,sp=1\,pt$)\cr}$$

\newpage

\hbox{}

% \vskip 1in

\def\hexagon{
\vrule width 0.4in height 0.05in depth 0pt
\special{CTM: rotate 60}%
\vrule width 0.4in height 0.05in depth 0pt
\special{CTM: rotate 60}%
\vrule width 0.4in height 0.05in depth 0pt
\special{CTM: rotate 60}%
\vrule width 0.4in height 0.05in depth 0pt
\special{CTM: rotate 60}%
\vrule width 0.4in height 0.05in depth 0pt
\special{CTM: rotate 60}%
\vrule width 0.4in height 0.05in depth 0pt
\special{CTM: rotate 60}%
}

\special{CTM: push}%
% \noindent
\special{color: push rgb 0 0.7 0.8}%
\hexagon 
\special{CTM: rotate* 360}%
\hskip1in \hexagon
\special{color: pop}%
\special{CTM: pop}%

\vskip 1in

\def\oval{
\special{pn 20}%
\special{pa 0 0}%
\special{pa 1000 0}%
\special{pa 2000 0}%
\special{pa 3000 0}%
% \special{pa 3000 500}%
\special{pa 3000 1000}%
\special{pa 2000 1000}%
\special{pa 1000 1000}%
\special{pa 0 1000}%
% \special{pa 0 500}%
\special{pa 0 0}%
% \special{sp}%
\special{sp 0.075}%
}

\oval

\vskip 3.4in

\special{CTM: push rotate 45}%
\oval
\special{CTM: pop}%

\vskip 3.9in

\special{CTM: push rotate 90}%
\oval
\special{CTM: pop}%

\vskip 1in

\end

\newskip\ttglue

\tt \ttglue=.5em plus.25em minus.15em

% (now Appendix E resumes again)
% macros for verbatim scanning
\chardef\other=12
\def\ttverbatim{\begingroup
  \catcode`\\=\other
  \catcode`\{=\other
  \catcode`\}=\other
  \catcode`\$=\other
  \catcode`\&=\other
  \catcode`\#=\other
  \catcode`\%=\other
  \catcode`\~=\other
  \catcode`\_=\other
  \catcode`\^=\other
  \obeyspaces \obeylines \tt}

\outer\def\begintt{$$\let\par=\endgraf \ttverbatim \parskip=\z@
  \catcode`\|=0 \rightskip-5pc \ttfinish}
{\catcode`\|=0 |catcode`|\=\other % | is temporary escape character
  |obeylines % end of line is active
  |gdef|ttfinish#1^^M#2\endtt{#1|vbox{#2}|endgroup$$}}

\catcode`\|=\active
{\obeylines \gdef|{\ttverbatim \spaceskip\ttglue \let^^M=\  \let|=\endgroup}}

\vskip 5.3in

% \hskip 4in
\special{CTM: push rotate 90}%
$$\halign{\indent#\hfil&\quad#\hfil&\quad#\hfil&
\hskip4em#\hfil&\quad#\hfil&\quad#\hfil\cr
\it \kern-2pt Class&\it Meaning&\kern-2pt\it Example&
\it \kern-2pt Class&\it Meaning&\kern-2pt\it Example\cr
\noalign{\vskip2pt}
0&Ordinary&|/|&
4&Opening&|(|\cr
1&Large operator&|\sum|&
5&Closing&|)|\cr
2&Binary operation&|+|&
6&Punctuation&|,|\cr
3&Relation&|=|&
7&Variable family&|x|\cr
}$$
\special{CTM: pop}%

\end
